AddCSLuaFile( "cl_init.lua" );
AddCSLuaFile( "shared.lua" );

include( "shared.lua" );

ENT.Spawnable = true;

function ENT:SpawnFunction( ply, tr )

	if( !tr.Hit ) then return end
	
	local pos = tr.HitPos + tr.HitNormal * 32;
	
	local ent = ents.Create( self.ClassName );
	ent:SetPos( pos );
	ent:Spawn();
	ent:Activate();
	
	return ent;
	
end